///////////////////////////////////////////////////////////
//  Notification.cs
//  Implementation of the Class Notification
//  Created on:      15-Nov-2009 12:32:25
//  Original author: n.gavrikov
///////////////////////////////////////////////////////////

using System;
using System.Runtime.Serialization;

namespace TeamTasker.Contracts
{
    [DataContract]
    public class Notification : BaseRecord
    {
        [DataMember]
        public DateTime CreationTime { get; set; }

        [DataMember]
        public long SenderUserID { get; set; }

        [DataMember]
        public string SenderUserName { get; set; }

        [DataMember]
        public long RecipientUserID { get; set; }

        [DataMember]
        public string RecipientUserName { get; set; }

        [DataMember]
        public string Text { get; set; }

        [DataMember]
        public string Details { get; set; }

        [DataMember]
        public bool wasShown { get; set; }
    }
}
